<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>密码修改 - <?php echo $cfg_webname; ?></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link href="<?php echo $cfg_skin;?>/css/common-user.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $cfg_cmsurl; ?>/favicon.ico"/>
<script type="text/javascript" src="<?php echo $cfg_skin;?>/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="<?php echo $cfg_skin;?>/js/main.js"></script>
<script type="text/javascript">
var reMethod = "<?php echo ($cfg_soft_lang == 'utf-8') ? 'POST' : 'GET';?>",pwdmin = <?php echo $cfg_mb_pwdmin; ?>;
function ReseSubmit()
{
	if(document.form1.pwd.value=="")
	{
		alert("请填写新密码！");
		document.form1.userid.focus();
		return false;
	}
	
	if(document.form1.pwdok.value=="")
	{
		alert("请填写确认密码！");
		document.form1.pwdok.focus();
		return false;
	}
	
	if(document.form1.pwd.value!=document.form1.pwdok.value)
	{
		alert("两次密码不一致！");
		document.form1.pwdok.focus();
		return false;
	}
	
}
</script>
</head>
<body style="background: #f4f4f4;">
<header id="header">
<div class="wi-center">
<h1 class="logo pt20 fl">
<a href="/" title="<?php echo $cfg_webname; ?>"><?php echo $cfg_webname; ?></a>
</h1>
<div class="fr">
已有账号，
<a class="pr10" href="<?php echo $cfg_memberurl;?>/login.php">马上登录</a> |
<a class="color-f0 pl10" href="/">返回<?php echo $cfg_webname; ?></a>
</div>
</div>
</header>
<div class="ind-mian clearfix pt30">
<div class="mian-top_tit">
<h3>密码修改</h3>
</div>
<div class="mian-cont">
<div class="mian-cont_fr fr">
<div class="tab-ait fl mb20">

<a class="maivip" href="<?php echo $cfg_memberurl;?>/buy.php" style="width:165px;height:40px;line-height:40px;color:#f2f2f2" rel="nofollow" target="_blank"><i style="margin:8px 8px 0 40px" class="icon ic-vip"></i>购买VIP</a>
<a class="chongzhi" href="<?php echo $cfg_memberurl;?>/buy.php" style="width:165px;height:40px;line-height:40px;color:#f2f2f2" rel="nofollow" target="_blank"><i style="margin:8px 8px 0 40px" class="icon ic-zhif"></i>金币充值</a>
</div>
</div>
<div class="new_mima mian-cont_fl fr">
<ul class="mi-ul clearfix">
<form class="layui-form" name="form1" method="post" action="resetpassword.php" onsubmit="return ReseSubmit();">
<input type="hidden" name="dopost" value="getpasswd">
<input type="hidden" name="setp" value="2">
<input type="hidden" name="id" value="<?php echo $id;?>" />
<input name="key" type="hidden" value="<?php echo $key;?>" />
<p class="tc c_333 f14" style="margin: 0 10px 13px 15px;"><font color="blue"><?php echo $row['membername']?></font>，请输入你的新密码</p>
<li>
<span>新密码：</span>
<input type="password" id="pwdrese" name="pwd" placeholder="" autocomplete="off"/>
</li>
<li>
<span>确认新密码：</span>
<input type="password" id="pwdokrese" name="pwdok" placeholder="" autocomplete="off"/>
</li>
<li>
<button style="cursor:pointer;" class="login_button" id="subrese" type="submit">完成</button>
</li>
</form>
</ul>
</div>
</div>
</div>
</body>
</html>